<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>软件宝库 - 精选实用软件推荐平台</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36D399',
                        warning: '#FBBD23',
                        danger: '#F87272',
                        dark: '#1E293B',
                        light: '#F8FAFC'
                    },
                    fontFamily: {
                        inter: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .software-card-hover {
                @apply transition-all duration-300 hover:shadow-xl hover:-translate-y-1 border-primary/30;
            }
            .badge-pill {
                @apply px-2.5 py-0.5 rounded-full text-xs font-medium;
            }
            .btn-filter {
                @apply px-3 py-1.5 rounded-md text-sm hover:bg-primary/5 transition-colors;
            }
            .text-balance {
                text-wrap: balance;
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-inter text-gray-800">
    <!-- 顶部导航栏 -->
    <header class="bg-white shadow-sm sticky top-0 z-50 transition-all duration-300">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between items-center h-16">
                <!-- 品牌LOGO -->
                <a href="#" class="flex items-center space-x-2">
                    <i class="fa fa-cubes text-primary text-2xl"></i>
                    <span class="text-xl font-bold text-dark">软件宝库</span>
                </a>

                <!-- 主导航菜单（桌面端） -->
                <nav class="hidden md:flex items-center space-x-8">
                    <a href="#" class="text-primary font-medium border-b-2 border-primary py-5 relative group">
                        软件列表
                        <span class="absolute -bottom-1 left-0 w-full h-0.5 bg-primary transform scale-x-100 group-hover:scale-x-100 transition-transform origin-left"></span>
                    </a>
                    <a href="#" class="text-gray-600 hover:text-primary transition-colors py-5 relative group">
                        排行榜
                        <span class="absolute -bottom-1 left-0 w-full h-0.5 bg-primary transform scale-x-0 group-hover:scale-x-100 transition-transform origin-left"></span>
                    </a>
                    <a href="#" class="text-gray-600 hover:text-primary transition-colors py-5 relative group">
                        新品上线
                        <span class="absolute -bottom-1 left-0 w-full h-0.5 bg-primary transform scale-x-0 group-hover:scale-x-100 transition-transform origin-left"></span>
                    </a>
                    <a href="#" class="text-gray-600 hover:text-primary transition-colors py-5 relative group">
                        教程专区
                        <span class="absolute -bottom-1 left-0 w-full h-0.5 bg-primary transform scale-x-0 group-hover:scale-x-100 transition-transform origin-left"></span>
                    </a>
                    <a href="#" class="text-gray-600 hover:text-primary transition-colors py-5 relative group">
                        社区讨论
                        <span class="absolute -bottom-1 left-0 w-full h-0.5 bg-primary transform scale-x-0 group-hover:scale-x-100 transition-transform origin-left"></span>
                    </a>
                </nav>

                <!-- 用户功能区 -->
                <div class="flex items-center space-x-4">
                    <button class="text-gray-600 hover:text-primary transition-colors relative p-1.5">
                        <i class="fa fa-search text-lg"></i>
                    </button>
                    <button class="text-gray-600 hover:text-primary transition-colors relative p-1.5">
                        <i class="fa fa-bell text-lg"></i>
                        <span class="absolute -top-0.5 -right-0.5 w-4 h-4 bg-danger rounded-full text-white text-xs flex items-center justify-center animate-pulse">3</span>
                    </button>
                    <div class="relative group">
                        <div class="flex items-center space-x-2 cursor-pointer">
                            <img src="https://picsum.photos/id/1005/200/200" alt="用户头像" class="w-8 h-8 rounded-full object-cover border-2 border-transparent hover:border-primary transition-colors">
                            <span class="text-gray-700 hidden sm:inline">用户昵称</span>
                            <i class="fa fa-angle-down text-gray-500 text-xs"></i>
                        </div>
                        <!-- 用户下拉菜单 -->
                        <div class="absolute right-0 mt-2 w-48 bg-white rounded-lg shadow-lg py-2 z-50 hidden group-hover:block transition-all">
                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-primary/5 hover:text-primary">个人中心</a>
                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-primary/5 hover:text-primary">我的收藏</a>
                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-primary/5 hover:text-primary">下载历史</a>
                            <div class="border-t border-gray-100 my-1"></div>
                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-primary/5 hover:text-primary">设置</a>
                            <a href="#" class="block px-4 py-2 text-sm text-danger hover:bg-danger/5">退出登录</a>
                        </div>
                    </div>
                    <!-- 移动端菜单按钮 -->
                    <button id="mobile-menu-btn" class="md:hidden text-gray-600 p-1.5">
                        <i class="fa fa-bars text-xl"></i>
                    </button>
                </div>
            </div>

            <!-- 移动端导航菜单 -->
            <div id="mobile-menu" class="md:hidden hidden pb-4 border-t animate-fadeIn">
                <nav class="flex flex-col space-x-1 p-2">
                    <a href="#" class="text-primary font-medium px-3 py-2 rounded-md bg-primary/5">软件列表</a>
                    <a href="#" class="text-gray-600 hover:text-primary transition-colors px-3 py-2 rounded-md hover:bg-gray-50">排行榜</a>
                    <a href="#" class="text-gray-600 hover:text-primary transition-colors px-3 py-2 rounded-md hover:bg-gray-50">新品上线</a>
                    <a href="#" class="text-gray-600 hover:text-primary transition-colors px-3 py-2 rounded-md hover:bg-gray-50">教程专区</a>
                    <a href="#" class="text-gray-600 hover:text-primary transition-colors px-3 py-2 rounded-md hover:bg-gray-50">社区讨论</a>
                </nav>
            </div>
        </div>
    </header>

    <!-- 主横幅 -->
    <div class="bg-gradient-to-r from-primary to-blue-700 text-white py-10 sm:py-16">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="max-w-3xl">
                <h1 class="text-[clamp(1.8rem,4vw,3rem)] font-bold leading-tight">发现最适合你的优质软件</h1>
                <p class="mt-4 text-blue-100 text-lg max-w-2xl">
                    精选千款实用软件，覆盖办公、设计、开发等多个领域，每款软件都经过专业评测
                </p>
                <div class="mt-8 relative max-w-xl">
                    <input 
                        type="text" 
                        placeholder="搜索软件名称、功能或分类..." 
                        class="w-full pl-10 pr-4 py-3 rounded-lg border border-blue-400/30 bg-white/10 text-white placeholder-blue-100/70 focus:outline-none focus:ring-2 focus:ring-white/30 focus:border-white/50 transition-all"
                    >
                    <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-blue-100"></i>
                    <button class="absolute right-1 top-1/2 transform -translate-y-1/2 bg-white text-primary px-4 py-1.5 rounded-md text-sm font-medium hover:bg-blue-50 transition-colors">
                        搜索
                    </button>
                </div>
                <div class="mt-6 flex flex-wrap gap-3">
                    <span class="text-sm text-blue-100">热门搜索：</span>
                    <a href="#" class="text-sm bg-white/10 hover:bg-white/20 px-3 py-1 rounded-full transition-colors">视频剪辑软件</a>
                    <a href="#" class="text-sm bg-white/10 hover:bg-white/20 px-3 py-1 rounded-full transition-colors">免费办公套件</a>
                    <a href="#" class="text-sm bg-white/10 hover:bg-white/20 px-3 py-1 rounded-full transition-colors">截图工具</a>
                </div>
            </div>
        </div>
    </div>

    <main class="container mx-auto px-4 sm:px-6 lg:px-8 py-8">
        <!-- 页面标题模块 -->
        <section id="page-title" class="mb-8">
            <div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
                <div>
                    <h1 class="text-[clamp(1.5rem,3vw,2.2rem)] font-bold text-dark">精选软件列表</h1>
                    <p class="text-gray-500 mt-1">涵盖办公、设计、开发、娱乐等多领域实用软件，满足不同场景需求</p>
                </div>
                <div class="flex items-center space-x-3">
                    <button class="flex items-center px-4 py-2 bg-primary text-white rounded-md hover:bg-primary/90 transition-colors">
                        <i class="fa fa-plus mr-2"></i> 上传软件
                    </button>
                    <button class="flex items-center px-4 py-2 border border-gray-300 rounded-md hover:bg-gray-50 transition-colors">
                        <i class="fa fa-history mr-2"></i> 浏览历史
                    </button>
                </div>
            </div>
        </section>

        <div class="flex flex-col lg:flex-row gap-8">
            <!-- 左侧筛选区 -->
            <aside class="lg:w-1/4 xl:w-1/5">
                <!-- 分类筛选模块 -->
                <section id="category-filter" class="bg-white rounded-xl shadow-sm p-5 mb-6 transform hover:shadow-md transition-shadow">
                    <h3 class="font-bold text-lg mb-4 flex items-center">
                        <i class="fa fa-th-list text-primary mr-2"></i>软件分类
                    </h3>
                    <ul class="space-y-2">
                        <li>
                            <label class="flex items-center space-x-2 text-primary font-medium cursor-pointer">
                                <input type="checkbox" checked class="form-checkbox h-4 w-4 text-primary rounded">
                                <span>全部软件 (248)</span>
                            </label>
                        </li>
                        <li>
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="checkbox" class="form-checkbox h-4 w-4 text-primary rounded">
                                <span>办公效率 (63)</span>
                            </label>
                        </li>
                        <li>
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="checkbox" class="form-checkbox h-4 w-4 text-primary rounded">
                                <span>设计创意 (45)</span>
                            </label>
                        </li>
                        <li>
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="checkbox" class="form-checkbox h-4 w-4 text-primary rounded">
                                <span>编程开发 (38)</span>
                            </label>
                        </li>
                        <li>
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="checkbox" class="form-checkbox h-4 w-4 text-primary rounded">
                                <span>视频播放 (27)</span>
                            </label>
                        </li>
                        <li>
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="checkbox" class="form-checkbox h-4 w-4 text-primary rounded">
                                <span>系统工具 (32)</span>
                            </label>
                        </li>
                        <li>
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="checkbox" class="form-checkbox h-4 w-4 text-primary rounded">
                                <span>学习教育 (21)</span>
                            </label>
                        </li>
                        <li>
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="checkbox" class="form-checkbox h-4 w-4 text-primary rounded">
                                <span>游戏娱乐 (22)</span>
                            </label>
                        </li>
                    </ul>
                    <button class="mt-4 text-sm text-primary hover:text-primary/80 flex items-center">
                        更多分类 <i class="fa fa-angle-right ml-1"></i>
                    </button>
                </section>

                <!-- 平台与属性筛选模块 -->
                <section id="platform-filter" class="bg-white rounded-xl shadow-sm p-5 mb-6 transform hover:shadow-md transition-shadow">
                    <h3 class="font-bold text-lg mb-4 flex items-center">
                        <i class="fa fa-filter text-primary mr-2"></i>筛选条件
                    </h3>
                    
                    <!-- 平台筛选 -->
                    <div class="mb-5">
                        <h4 class="text-sm font-medium text-gray-700 mb-3">支持平台</h4>
                        <div class="flex flex-wrap gap-2">
                            <button class="btn-filter bg-primary/5 text-primary border border-primary/30">全部</button>
                            <button class="btn-filter text-gray-600 border border-gray-200">Windows</button>
                            <button class="btn-filter text-gray-600 border border-gray-200">macOS</button>
                            <button class="btn-filter text-gray-600 border border-gray-200">Linux</button>
                            <button class="btn-filter text-gray-600 border border-gray-200">Android</button>
                            <button class="btn-filter text-gray-600 border border-gray-200">iOS</button>
                        </div>
                    </div>
                    
                    <!-- 收费类型筛选 -->
                    <div class="mb-5">
                        <h4 class="text-sm font-medium text-gray-700 mb-3">收费类型</h4>
                        <div class="flex flex-wrap gap-2">
                            <button class="btn-filter bg-primary/5 text-primary border border-primary/30">全部</button>
                            <button class="btn-filter text-gray-600 border border-gray-200">免费</button>
                            <button class="btn-filter text-gray-600 border border-gray-200">付费</button>
                            <button class="btn-filter text-gray-600 border border-gray-200">免费试用</button>
                            <button class="btn-filter text-gray-600 border border-gray-200">开源</button>
                        </div>
                    </div>
                    
                    <!-- 评分筛选 -->
                    <div>
                        <h4 class="text-sm font-medium text-gray-700 mb-3">用户评分</h4>
                        <div class="space-y-2">
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="radio" name="rating" checked class="form-radio h-4 w-4 text-primary">
                                <span>全部评分</span>
                            </label>
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="radio" name="rating" class="form-radio h-4 w-4 text-primary">
                                <span>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star text-warning"></i>
                                    (5.0分以上)
                                </span>
                            </label>
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="radio" name="rating" class="form-radio h-4 w-4 text-primary">
                                <span>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star-o text-warning"></i>
                                    (4.0分以上)
                                </span>
                            </label>
                            <label class="flex items-center space-x-2 text-gray-600 cursor-pointer hover:text-primary transition-colors">
                                <input type="radio" name="rating" class="form-radio h-4 w-4 text-primary">
                                <span>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star text-warning"></i>
                                    <i class="fa fa-star-o text-warning"></i>
                                    <i class="fa fa-star-o text-warning"></i>
                                    (3.0分以上)
                                </span>
                            </label>
                        </div>
                    </div>
                    
                    <div class="mt-6 pt-4 border-t border-gray-100">
                        <button class="w-full py-2 bg-primary text-white rounded-md hover:bg-primary/90 transition-colors">
                            应用筛选
                        </button>
                        <button class="w-full py-2 mt-2 text-gray-600 hover:text-gray-900 transition-colors">
                            重置筛选条件
                        </button>
                    </div>
                </section>

                <!-- 下载趋势模块 -->
                <section id="download-trends" class="bg-white rounded-xl shadow-sm p-5 mb-6 transform hover:shadow-md transition-shadow">
                    <h3 class="font-bold text-lg mb-4 flex items-center">
                        <i class="fa fa-line-chart text-primary mr-2"></i>下载趋势
                    </h3>
                    <div class="h-48">
                        <canvas id="trendsChart"></canvas>
                    </div>
                    <div class="mt-4 text-sm text-gray-500 text-center">
                        近30天各分类软件下载量趋势
                    </div>
                </section>

                <!-- 热门标签模块 -->
                <section id="popular-tags" class="bg-white rounded-xl shadow-sm p-5 transform hover:shadow-md transition-shadow">
                    <h3 class="font-bold text-lg mb-4 flex items-center">
                        <i class="fa fa-tags text-primary mr-2"></i>热门标签
                    </h3>
                    <div class="flex flex-wrap gap-2">
                        <a href="#" class="px-3 py-1 bg-blue-50 text-primary text-sm rounded-full hover:bg-blue-100 transition-colors">#办公套件</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#图片编辑</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#视频剪辑</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#代码编辑器</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#笔记软件</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#思维导图</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#压缩工具</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#PDF处理</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#屏幕录制</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#文件管理</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#杀毒安全</a>
                        <a href="#" class="px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded-full hover:bg-gray-200 transition-colors">#虚拟机</a>
                    </div>
                </section>
            </aside>

            <!-- 右侧内容区 -->
            <div class="lg:w-3/4 xl:w-4/5">
                <!-- 排序与视图模块 -->
                <section id="sort-view" class="bg-white rounded-xl shadow-sm p-4 mb-6">
                    <div class="flex flex-wrap items-center justify-between gap-4">
                        <div class="flex items-center space-x-4">
                            <span class="text-sm text-gray-500">排序方式：</span>
                            <select class="border border-gray-300 rounded-md px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary">
                                <option>推荐优先</option>
                                <option>下载最多</option>
                                <option>评分最高</option>
                                <option>最新发布</option>
                                <option>名称排序</option>
                            </select>
                        </div>
                        
                        <div class="flex items-center space-x-4">
                            <span class="text-sm text-gray-500">显示方式：</span>
                            <div class="flex border rounded-md overflow-hidden">
                                <button id="grid-view" class="px-3 py-2 bg-primary text-white hover:bg-primary/90 transition-colors">
                                    <i class="fa fa-th-large"></i>
                                </button>
                                <button id="list-view" class="px-3 py-2 bg-gray-100 text-gray-600 hover:bg-gray-200 transition-colors">
                                    <i class="fa fa-list"></i>
                                </button>
                            </div>
                        </div>
                        
                        <div class="flex items-center space-x-4">
                            <span class="text-sm text-gray-500">每页显示：</span>
                            <select class="border border-gray-300 rounded-md px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary">
                                <option>12</option>
                                <option>24</option>
                                <option>36</option>
                            </select>
                        </div>
                    </div>
                </section>

                <!-- 精品推荐模块 -->
                <section id="featured-software" class="mb-8">
                    <div class="flex items-center justify-between mb-4">
                        <h2 class="text-xl font-bold flex items-center">
                            <i class="fa fa-diamond text-warning mr-2"></i> 精品推荐
                        </h2>
                        <a href="#" class="text-primary text-sm hover:underline">查看全部</a>
                    </div>
                    
                    <div class="bg-gradient-to-r from-blue-50 to-indigo-50 rounded-xl overflow-hidden shadow-sm">
                        <div class="flex flex-col md:flex-row">
                            <div class="md:w-1/3 p-4 md:p-6 flex items-center justify-center">
                                <img src="https://picsum.photos/id/0/400/300" alt="超级办公套件" class="max-h-48 object-contain rounded-lg">
                            </div>
                            <div class="md:w-2/3 p-6">
                                <div class="flex items-center gap-2 mb-2">
                                    <span class="badge-pill bg-blue-100 text-blue-800">办公效率</span>
                                    <span class="badge-pill bg-green-100 text-green-800">免费</span>
                                    <span class="badge-pill bg-purple-100 text-purple-800">Editor's Choice</span>
                                </div>
                                <h3 class="text-2xl font-bold mb-2">超级办公套件 2023</h3>
                                <div class="flex items-center mb-4">
                                    <div class="flex">
                                        <i class="fa fa-star text-warning"></i>
                                        <i class="fa fa-star text-warning"></i>
                                        <i class="fa fa-star text-warning"></i>
                                        <i class="fa fa-star text-warning"></i>
                                        <i class="fa fa-star-half-o text-warning"></i>
                                    </div>
                                    <span class="ml-2 text-gray-700">4.8 (1,256 评价)</span>
                                    <span class="mx-2 text-gray-300">|</span>
                                    <span class="text-gray-600"><i class="fa fa-download mr-1"></i> 58.2万次下载</span>
                                </div>
                                <p class="text-gray-700 mb-4">
                                    集成文档编辑、表格处理、演示文稿、PDF转换等多功能于一体的办公套件，兼容主流格式，支持云端同步，
                                    内置AI辅助编辑功能，大幅提升办公效率。
                                </p>
                                <div class="flex flex-wrap gap-3 mb-5">
                                    <span class="text-xs bg-white/70 text-gray-700 px-2 py-1 rounded-full">Windows</span>
                                    <span class="text-xs bg-white/70 text-gray-700 px-2 py-1 rounded-full">macOS</span>
                                    <span class="text-xs bg-white/70 text-gray-700 px-2 py-1 rounded-full">Linux</span>
                                    <span class="text-xs bg-white/70 text-gray-700 px-2 py-1 rounded-full">Android</span>
                                    <span class="text-xs bg-white/70 text-gray-700 px-2 py-1 rounded-full">iOS</span>
                                </div>
                                <div class="flex flex-wrap gap-3">
                                    <button class="px-6 py-2.5 bg-primary text-white rounded-md hover:bg-primary/90 transition-colors flex items-center">
                                        <i class="fa fa-download mr-2"></i> 立即下载
                                    </button>
                                    <button class="px-6 py-2.5 border border-primary text-primary rounded-md hover:bg-primary/5 transition-colors flex items-center">
                                        <i class="fa fa-info-circle mr-2"></i> 查看详情
                                    </button>
                                    <button class="p-2.5 border border-gray-300 text-gray-600 rounded-md hover:bg-gray-50 transition-colors">
                                        <i class="fa fa-heart-o"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>

                <!-- 软件列表模块 -->
                <section id="software-list" class="mb-8">
                    <div class="flex items-center justify-between mb-6">
                        <h2 class="text-xl font-bold flex items-center">
                            <i class="fa fa-th text-primary mr-2"></i> 软件列表
                        </h2>
                        <div class="text-sm text-gray-500">
                            共找到 <span class="text-primary font-medium">248</span> 款软件
                        </div>
                    </div>
                    
                    <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" id="software-container">
                        <!-- 软件卡片 1 -->
                        <article class="bg-white rounded-xl shadow-sm overflow-hidden border border-gray-100 software-card-hover">
                            <div class="relative">
                                <img src="https://picsum.photos/id/0/400/225" alt="办公套件软件" class="w-full h-40 object-cover">
                                <span class="absolute top-3 left-3 badge-pill bg-blue-100 text-blue-800">办公效率</span>
                                <span class="absolute top-3 right-3 badge-pill bg-green-100 text-green-800">免费</span>
                                <button class="absolute top-3 right-16 text-gray-400 hover:text-danger transition-colors p-1">
                                    <i class="fa fa-heart-o"></i>
                                </button>
                            </div>
                            <div class="p-5">
                                <div class="flex justify-between items-start mb-2">
                                    <h3 class="font-bold text-lg line-clamp-1">智慧办公套件</h3>
                                    <div class="flex items-center">
                                        <i class="fa fa-star text-warning text-sm"></i>
                                        <span class="ml-1 text-sm font-medium">4.8</span>
                                    </div>
                                </div>
                                <p class="text-gray-600 text-sm mb-4 line-clamp-2">
                                    集成文档处理、表格分析、演示文稿制作的一站式办公解决方案，支持多平台同步。
                                </p>
                                <div class="flex flex-wrap gap-2 mb-4">
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">Windows</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">macOS</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">Linux</span>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span class="text-sm text-gray-500">
                                        <i class="fa fa-download mr-1"></i> 12.5万次
                                    </span>
                                    <div class="flex gap-2">
                                        <button class="px-3 py-1.5 bg-primary text-white text-sm rounded-md hover:bg-primary/90 transition-colors">
                                            下载
                                        </button>
                                        <button class="p-1.5 border border-gray-300 text-gray-600 rounded-md hover:bg-gray-50 transition-colors">
                                            <i class="fa fa-info"></i>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </article>

                        <!-- 软件卡片 2 -->
                        <article class="bg-white rounded-xl shadow-sm overflow-hidden border border-gray-100 software-card-hover">
                            <div class="relative">
                                <img src="https://picsum.photos/id/160/400/225" alt="图像编辑软件" class="w-full h-40 object-cover">
                                <span class="absolute top-3 left-3 badge-pill bg-purple-100 text-purple-800">设计创意</span>
                                <span class="absolute top-3 right-3 badge-pill bg-yellow-100 text-yellow-800">付费</span>
                                <button class="absolute top-3 right-16 text-danger transition-colors p-1">
                                    <i class="fa fa-heart"></i>
                                </button>
                            </div>
                            <div class="p-5">
                                <div class="flex justify-between items-start mb-2">
                                    <h3 class="font-bold text-lg line-clamp-1">像素大师</h3>
                                    <div class="flex items-center">
                                        <i class="fa fa-star text-warning text-sm"></i>
                                        <span class="ml-1 text-sm font-medium">4.9</span>
                                    </div>
                                </div>
                                <p class="text-gray-600 text-sm mb-4 line-clamp-2">
                                    专业级图像编辑工具，支持图层编辑、滤镜效果和批量处理功能，适合专业设计师使用。
                                </p>
                                <div class="flex flex-wrap gap-2 mb-4">
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">Windows</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">macOS</span>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span class="text-sm text-gray-500">
                                        <i class="fa fa-download mr-1"></i> 8.3万次
                                    </span>
                                    <div class="flex gap-2">
                                        <button class="px-3 py-1.5 bg-primary text-white text-sm rounded-md hover:bg-primary/90 transition-colors">
                                            下载
                                        </button>
                                        <button class="p-1.5 border border-gray-300 text-gray-600 rounded-md hover:bg-gray-50 transition-colors">
                                            <i class="fa fa-info"></i>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </article>

                        <!-- 软件卡片 3 -->
                        <article class="bg-white rounded-xl shadow-sm overflow-hidden border border-gray-100 software-card-hover">
                            <div class="relative">
                                <img src="https://picsum.photos/id/119/400/225" alt="代码编辑器" class="w-full h-40 object-cover">
                                <span class="absolute top-3 left-3 badge-pill bg-indigo-100 text-indigo-800">编程开发</span>
                                <span class="absolute top-3 right-3 badge-pill bg-blue-100 text-blue-800">开源</span>
                                <button class="absolute top-3 right-16 text-gray-400 hover:text-danger transition-colors p-1">
                                    <i class="fa fa-heart-o"></i>
                                </button>
                            </div>
                            <div class="p-5">
                                <div class="flex justify-between items-start mb-2">
                                    <h3 class="font-bold text-lg line-clamp-1">代码精灵</h3>
                                    <div class="flex items-center">
                                        <i class="fa fa-star text-warning text-sm"></i>
                                        <span class="ml-1 text-sm font-medium">4.7</span>
                                    </div>
                                </div>
                                <p class="text-gray-600 text-sm mb-4 line-clamp-2">
                                    轻量级代码编辑器，支持多语言语法高亮和智能代码补全，插件生态丰富。
                                </p>
                                <div class="flex flex-wrap gap-2 mb-4">
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">Windows</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">macOS</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">Linux</span>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span class="text-sm text-gray-500">
                                        <i class="fa fa-download mr-1"></i> 15.2万次
                                    </span>
                                    <div class="flex gap-2">
                                        <button class="px-3 py-1.5 bg-primary text-white text-sm rounded-md hover:bg-primary/90 transition-colors">
                                            下载
                                        </button>
                                        <button class="p-1.5 border border-gray-300 text-gray-600 rounded-md hover:bg-gray-50 transition-colors">
                                            <i class="fa fa-info"></i>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </article>

                        <!-- 软件卡片 4 -->
                        <article class="bg-white rounded-xl shadow-sm overflow-hidden border border-gray-100 software-card-hover">
                            <div class="relative">
                                <img src="https://picsum.photos/id/96/400/225" alt="视频播放器" class="w-full h-40 object-cover">
                                <span class="absolute top-3 left-3 badge-pill bg-red-100 text-red-800">视频播放</span>
                                <span class="absolute top-3 right-3 badge-pill bg-green-100 text-green-800">免费</span>
                                <button class="absolute top-3 right-16 text-gray-400 hover:text-danger transition-colors p-1">
                                    <i class="fa fa-heart-o"></i>
                                </button>
                            </div>
                            <div class="p-5">
                                <div class="flex justify-between items-start mb-2">
                                    <h3 class="font-bold text-lg line-clamp-1">万能播放器</h3>
                                    <div class="flex items-center">
                                        <i class="fa fa-star text-warning text-sm"></i>
                                        <span class="ml-1 text-sm font-medium">4.6</span>
                                    </div>
                                </div>
                                <p class="text-gray-600 text-sm mb-4 line-clamp-2">
                                    支持几乎所有音视频格式的播放器，内置解码器，支持字幕自动匹配和倍速播放。
                                </p>
                                <div class="flex flex-wrap gap-2 mb-4">
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">Windows</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">macOS</span>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span class="text-sm text-gray-500">
                                        <i class="fa fa-download mr-1"></i> 28.7万次
                                    </span>
                                    <div class="flex gap-2">
                                        <button class="px-3 py-1.5 bg-primary text-white text-sm rounded-md hover:bg-primary/90 transition-colors">
                                            下载
                                        </button>
                                        <button class="p-1.5 border border-gray-300 text-gray-600 rounded-md hover:bg-gray-50 transition-colors">
                                            <i class="fa fa-info"></i>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </article>

                        <!-- 软件卡片 5 -->
                        <article class="bg-white rounded-xl shadow-sm overflow-hidden border border-gray-100 software-card-hover">
                            <div class="relative">
                                <img src="https://picsum.photos/id/60/400/225" alt="系统清理工具" class="w-full h-40 object-cover">
                                <span class="absolute top-3 left-3 badge-pill bg-gray-100 text-gray-800">系统工具</span>
                                <span class="absolute top-3 right-3 badge-pill bg-orange-100 text-orange-800">免费试用</span>
                                <button class="absolute top-3 right-16 text-danger transition-colors p-1">
                                    <i class="fa fa-heart"></i>
                                </button>
                            </div>
                            <div class="p-5">
                                <div class="flex justify-between items-start mb-2">
                                    <h3 class="font-bold text-lg line-clamp-1">系统清理大师</h3>
                                    <div class="flex items-center">
                                        <i class="fa fa-star text-warning text-sm"></i>
                                        <span class="ml-1 text-sm font-medium">4.5</span>
                                    </div>
                                </div>
                                <p class="text-gray-600 text-sm mb-4 line-clamp-2">
                                    深度清理系统垃圾文件，优化系统性能，隐私保护和软件管理的综合系统工具。
                                </p>
                                <div class="flex flex-wrap gap-2 mb-4">
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">Windows</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">macOS</span>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span class="text-sm text-gray-500">
                                        <i class="fa fa-download mr-1"></i> 21.3万次
                                    </span>
                                    <div class="flex gap-2">
                                        <button class="px-3 py-1.5 bg-primary text-white text-sm rounded-md hover:bg-primary/90 transition-colors">
                                            下载
                                        </button>
                                        <button class="p-1.5 border border-gray-300 text-gray-600 rounded-md hover:bg-gray-50 transition-colors">
                                            <i class="fa fa-info"></i>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </article>

                        <!-- 软件卡片 6 -->
                        <article class="bg-white rounded-xl shadow-sm overflow-hidden border border-gray-100 software-card-hover">
                            <div class="relative">
                                <img src="https://picsum.photos/id/42/400/225" alt="思维导图软件" class="w-full h-40 object-cover">
                                <span class="absolute top-3 left-3 badge-pill bg-green-100 text-green-800">学习教育</span>
                                <span class="absolute top-3 right-3 badge-pill bg-yellow-100 text-yellow-800">付费</span>
                                <button class="absolute top-3 right-16 text-gray-400 hover:text-danger transition-colors p-1">
                                    <i class="fa fa-heart-o"></i>
                                </button>
                            </div>
                            <div class="p-5">
                                <div class="flex justify-between items-start mb-2">
                                    <h3 class="font-bold text-lg line-clamp-1">思维导图Pro</h3>
                                    <div class="flex items-center">
                                        <i class="fa fa-star text-warning text-sm"></i>
                                        <span class="ml-1 text-sm font-medium">4.7</span>
                                    </div>
                                </div>
                                <p class="text-gray-600 text-sm mb-4 line-clamp-2">
                                    专业思维导图工具，支持多种布局，头脑风暴模式，多设备同步和团队协作功能。
                                </p>
                                <div class="flex flex-wrap gap-2 mb-4">
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">Windows</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">macOS</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">Android</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-2 py-0.5 rounded">iOS</span>
                                </div>
                                <div class="flex justify-between items-center">
                                    <span class="text-sm text-gray-500">
                                        <i class="fa fa-download mr-1"></i> 7.9万次
                                    </span>
                                    <div class="flex gap-2">
                                        <button class="px-3 py-1.5 bg-primary text-white text-sm rounded-md hover:bg-primary/90 transition-colors">
                                            下载
                                        </button>
                                        <button class="p-1.5 border border-gray-300 text-gray-600 rounded-md hover:bg-gray-50 transition-colors">
                                            <i class="fa fa-info"></i>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </article>
                    </div>
                </section>

                <!-- 分页模块 -->
                <section id="pagination" class="flex justify-center">
                    <nav class="inline-flex rounded-md shadow-sm">
                        <a href="#" class="relative inline-flex items-center px-3 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 transition-colors">
                            <i class="fa fa-chevron-left"></i>
                        </a>
                        <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-primary text-sm font-medium text-white">
                            1
                        </a>
                        <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 transition-colors">
                            2
                        </a>
                        <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 transition-colors">
                            3
                        </a>
                        <span class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700">
                            ...
                        </span>
                        <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 transition-colors">
                            12
                        </a>
                        <a href="#" class="relative inline-flex items-center px-3 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 transition-colors">
                            <i class="fa fa-chevron-right"></i>
                        </a>
                    </nav>
                </section>

                <!-- 用户评价模块 -->
                <section id="user-reviews" class="mt-12 bg-white rounded-xl shadow-sm p-6">
                    <h2 class="text-xl font-bold mb-6 flex items-center">
                        <i class="fa fa-comments text-primary mr-2"></i> 用户评价精选
                    </h2>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <div class="border-b border-gray-100 pb-6 md:border-b-0 md:pb-0">
                            <div class="flex items-start">
                                <img src="https://picsum.photos/id/1012/100/100" alt="用户头像" class="w-10 h-10 rounded-full object-cover">
                                <div class="ml-3 flex-1">
                                    <div class="flex items-center justify-between">
                                        <h4 class="font-medium">张小明</h4>
                                        <div class="flex">
                                            <i class="fa fa-star text-warning text-xs"></i>
                                            <i class="fa fa-star text-warning text-xs"></i>
                                            <i class="fa fa-star text-warning text-xs"></i>
                                            <i class="fa fa-star text-warning text-xs"></i>
                                            <i class="fa fa-star text-warning text-xs"></i>
                                        </div>
                                    </div>
                                    <p class="text-sm text-gray-600 mt-1">智慧办公套件真的太好用了，特别是云端同步功能，让我在公司和家里都能无缝继续工作，强烈推荐！</p>
                                    <div class="mt-2 text-xs text-gray-500">
                                        评价于 智慧办公套件 · 3天前
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <div>
                            <div class="flex items-start">
                                <img src="https://picsum.photos/id/1027/100/100" alt="用户头像" class="w-10 h-10 rounded-full object-cover">
                                <div class="ml-3 flex-1">
                                    <div class="flex items-center justify-between">
                                        <h4 class="font-medium">李设计师</h4>
                                        <div class="flex">
                                            <i class="fa fa-star text-warning text-xs"></i>
                                            <i class="fa fa-star text-warning text-xs"></i>
                                            <i class="fa fa-star text-warning text-xs"></i>
                                            <i class="fa fa-star text-warning text-xs"></i>
                                            <i class="fa fa-star-half-o text-warning text-xs"></i>
                                        </div>
                                    </div>
                                    <p class="text-sm text-gray-600 mt-1">像素大师的滤镜效果非常出色，操作也很流畅，虽然是付费软件，但物有所值，是我日常设计工作的得力助手。</p>
                                    <div class="mt-2 text-xs text-gray-500">
                                        评价于 像素大师 · 1周前
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="mt-6 text-center">
                        <a href="#" class="text-primary hover:text-primary/80 inline-flex items-center">
                            查看更多用户评价 <i class="fa fa-angle-right ml-1"></i>
                        </a>
                    </div>
                </section>
            </div>
        </div>
    </main>

    <footer class="bg-gray-900 text-gray-400 py-12 mt-16">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <div class="text-white text-xl font-bold flex items-center mb-4">
                        <i class="fa fa-cubes mr-2"></i>
                        <span>软件宝库</span>
                    </div>
                    <p class="text-sm mb-4">
                        软件宝库是专业的软件推荐与下载平台，致力于为用户提供安全、优质的软件资源和相关服务。
                    </p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-weibo"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-wechat"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-github"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-twitter"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h4 class="text-white font-medium mb-4">软件分类</h4>
                    <ul class="space-y-2 text-sm">
                        <li><a href="#" class="hover:text-white transition-colors">办公效率</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">设计创意</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">编程开发</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">视频播放</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">系统工具</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">学习教育</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-white font-medium mb-4">关于我们</h4>
                    <ul class="space-y-2 text-sm">
                        <li><a href="#" class="hover:text-white transition-colors">平台介绍</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">加入我们</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">软件上传</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">用户反馈</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">联系我们</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-white font-medium mb-4">帮助中心</h4>
                    <ul class="space-y-2 text-sm">
                        <li><a href="#" class="hover:text-white transition-colors">下载教程</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">安装说明</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">常见问题</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">安全认证</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">隐私政策</a></li>
                    </ul>
                </div>
            </div>
            
            <div class="mt-12 pt-6 border-t border-gray-800 text-center text-sm">
                <p>© 2023 软件宝库 版权所有 | 京ICP备12345678号-1</p>
                <p class="mt-2">本站软件均来自互联网公开渠道，仅供学习交流使用，请在下载后24小时内删除</p>
            </div>
        </div>
    </footer>

    <!-- 回到顶部按钮 -->
    <button id="back-to-top" class="fixed bottom-6 right-6 bg-primary text-white w-10 h-10 rounded-full flex items-center justify-center shadow-lg opacity-0 invisible transition-all z-50">
        <i class="fa fa-chevron-up"></i>
    </button>

    <script>
        // 移动端菜单切换
        const mobileMenuBtn = document.getElementById('mobile-menu-btn');
        const mobileMenu = document.getElementById('mobile-menu');
        
        mobileMenuBtn.addEventListener('click', () => {
            mobileMenu.classList.toggle('hidden');
        });
        
        // 视图切换功能
        const gridViewBtn = document.getElementById('grid-view');
        const listViewBtn = document.getElementById('list-view');
        const softwareContainer = document.getElementById('software-container');
        
        gridViewBtn.addEventListener('click', () => {
            // 更新按钮样式
            gridViewBtn.classList.remove('bg-gray-100', 'text-gray-600');
            gridViewBtn.classList.add('bg-primary', 'text-white');
            
            listViewBtn.classList.remove('bg-primary', 'text-white');
            listViewBtn.classList.add('bg-gray-100', 'text-gray-600');
            
            // 更新布局为网格视图
            softwareContainer.classList.remove('grid-cols-1');
            softwareContainer.classList.add('sm:grid-cols-2', 'lg:grid-cols-3');
            
            // 调整卡片样式
            document.querySelectorAll('#software-container > article').forEach(article => {
                article.classList.remove('flex', 'flex-col');
                article.querySelector('img').classList.remove('h-32', 'w-1/4', 'object-cover');
                article.querySelector('img').classList.add('h-40', 'w-full', 'object-cover');
                article.querySelector('div:nth-child(2)').classList.remove('w-3/4', 'ml-4');
            });
        });
        
        listViewBtn.addEventListener('click', () => {
            // 更新按钮样式
            listViewBtn.classList.remove('bg-gray-100', 'text-gray-600');
            listViewBtn.classList.add('bg-primary', 'text-white');
            
            gridViewBtn.classList.remove('bg-primary', 'text-white');
            gridViewBtn.classList.add('bg-gray-100', 'text-gray-600');
            
            // 更新布局为列表视图
            softwareContainer.classList.remove('sm:grid-cols-2', 'lg:grid-cols-3');
            softwareContainer.classList.add('grid-cols-1');
            
            // 调整卡片样式为列表模式
            document.querySelectorAll('#software-container > article').forEach(article => {
                article.classList.add('flex', 'flex-col', 'sm:flex-row');
                const imageContainer = article.querySelector('div:first-child');
                imageContainer.querySelector('img').classList.remove('h-40', 'w-full');
                imageContainer.querySelector('img').classList.add('h-32', 'w-full', 'sm:w-1/4', 'object-cover');
                const contentContainer = article.querySelector('div:nth-child(2)');
                contentContainer.classList.add('w-full', 'sm:w-3/4', 'sm:ml-4');
            });
        });
        
        // 下载趋势图表
        const ctx = document.getElementById('trendsChart').getContext('2d');
        new Chart(ctx, {
            type: 'line',
            data: {
                labels: ['1月', '5月', '10月', '15月', '20月', '25月', '30月'],
                datasets: [
                    {
                        label: '办公效率',
                        data: [6500, 7200, 8100, 7800, 9200, 10500, 11200],
                        borderColor: '#165DFF',
                        backgroundColor: 'rgba(22, 93, 255, 0.1)',
                        tension: 0.4,
                        fill: true
                    },
                    {
                        label: '设计创意',
                        data: [4200, 4800, 5100, 5900, 6300, 6800, 7500],
                        borderColor: '#7B61FF',
                        backgroundColor: 'rgba(123, 97, 255, 0.1)',
                        tension: 0.4,
                        fill: true
                    },
                    {
                        label: '编程开发',
                        data: [3800, 4100, 4500, 5200, 5800, 6300, 6900],
                        borderColor: '#36D399',
                        backgroundColor: 'rgba(54, 211, 153, 0.1)',
                        tension: 0.4,
                        fill: true
                    }
                ]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        position: 'bottom',
                        labels: {
                            boxWidth: 10,
                            font: {
                                size: 10
                            }
                        }
                    }
                },
                scales: {
                    y: {
                        beginAtZero: true,
                        ticks: {
                            callback: function(value) {
                                return value / 1000 + 'k';
                            },
                            font: {
                                size: 9
                            }
                        }
                    },
                    x: {
                        ticks: {
                            font: {
                                size: 9
                            }
                        }
                    }
                }
            }
        });
        
        // 回到顶部按钮
        const backToTopBtn = document.getElementById('back-to-top');
        
        window.addEventListener('scroll', () => {
            // 导航栏滚动效果
            const header = document.querySelector('header');
            if (window.scrollY > 50) {
                header.classList.add('shadow');
            } else {
                header.classList.remove('shadow');
            }
            
            // 回到顶部按钮显示/隐藏
            if (window.scrollY > 300) {
                backToTopBtn.classList.remove('opacity-0', 'invisible');
                backToTopBtn.classList.add('opacity-100', 'visible');
            } else {
                backToTopBtn.classList.remove('opacity-100', 'visible');
                backToTopBtn.classList.add('opacity-0', 'invisible');
            }
        });
        
        backToTopBtn.addEventListener('click', () => {
            window.scrollTo({
                top: 0,
                behavior: 'smooth'
            });
        });
        
        // 为筛选按钮添加交互效果
        document.querySelectorAll('.btn-filter').forEach(btn => {
            btn.addEventListener('click', () => {
                // 找到同组中已激活的按钮并移除激活状态
                const parent = btn.parentElement;
                parent.querySelectorAll('.btn-filter').forEach(sibling => {
                    sibling.classList.remove('bg-primary/5', 'text-primary', 'border-primary/30');
                    sibling.classList.add('text-gray-600', 'border-gray-200');
                });
                
                // 为当前点击的按钮添加激活状态
                btn.classList.remove('text-gray-600', 'border-gray-200');
                btn.classList.add('bg-primary/5', 'text-primary', 'border-primary/30');
            });
        });
    </script>
</body>
</html>
    